import { defineStore } from "pinia";
import { store } from "@/store";
import { useStorage } from "@vueuse/core";
import _ from 'lodash-es'



export const useTableFilterStore = defineStore("tableFilter", () => {
	const tableGlobalLocalTemp = ref({});
	const tableGlobalLocal = ref({});
	
	return {
		tableGlobalLocal,//当前选中
		tableGlobalLocalTemp,//临时选中
		
	};
},{
	// 'user_columns','user_checklist','user_dropCol'
	persist: {
		key: 'tableFile', 
		storage: localStorage, 
		paths: ['tableGlobalLocal'],
	},
});
